<?php
/**
*   The initialization file for console applications
*   XXX Obsolete; use ../cons.php for example XXX
*
*/
if ( empty($callback) || ! is_callable($callback) ) {
    file_put_contents( 'php://stderr', '[Yz] init-console: ERROR: No callback defined.' . "\n" );
    exit( 127 );
}
require_once( './lib/Yz/Application/Console.php' );
Yz_Application_Console::setConsoleCallback( $callback );
return Yz_Application_Console::main();

